package com.glodon.ggzy.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgJsProjBidAgent entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_JS_PROJ_BID_AGENT")
public class GgJsProjBidAgent implements java.io.Serializable {

	// Fields    

	private String id;

	private String projectId;

	private String projectCode;

	private String projectName;

	private String cateQual;

	private String regiAddress;

	private String legalRepr;

	private String contractNo;

	private Double serviceCharge;

	private String remark;

	// Constructors

	/** default constructor */
	public GgJsProjBidAgent() {
	}

	/** full constructor */
	public GgJsProjBidAgent(String projectId, String projectCode, String projectName, String cateQual, String regiAddress, String legalRepr,
			String contractNo, Double serviceCharge, String remark) {
		this.projectId = projectId;
		this.projectCode = projectCode;
		this.projectName = projectName;
		this.cateQual = cateQual;
		this.regiAddress = regiAddress;
		this.legalRepr = legalRepr;
		this.contractNo = contractNo;
		this.serviceCharge = serviceCharge;
		this.remark = remark;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 40)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "PROJECT_ID", length = 40)
	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	@Column(name = "PROJECT_CODE", length = 100)
	public String getProjectCode() {
		return this.projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	@Column(name = "PROJECT_NAME", length = 512)
	public String getProjectName() {
		return this.projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	@Column(name = "CATE_QUAL", length = 256)
	public String getCateQual() {
		return this.cateQual;
	}

	public void setCateQual(String cateQual) {
		this.cateQual = cateQual;
	}

	@Column(name = "REGI_ADDRESS", length = 256)
	public String getRegiAddress() {
		return this.regiAddress;
	}

	public void setRegiAddress(String regiAddress) {
		this.regiAddress = regiAddress;
	}

	@Column(name = "LEGAL_REPR", length = 50)
	public String getLegalRepr() {
		return this.legalRepr;
	}

	public void setLegalRepr(String legalRepr) {
		this.legalRepr = legalRepr;
	}

	@Column(name = "CONTRACT_NO", length = 50)
	public String getContractNo() {
		return this.contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}

	@Column(name = "SERVICE_CHARGE", precision = 24, scale = 4)
	public Double getServiceCharge() {
		return this.serviceCharge;
	}

	public void setServiceCharge(Double serviceCharge) {
		this.serviceCharge = serviceCharge;
	}

	@Column(name = "REMARK", length = 512)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
